
class Friend {
private:
	char *name;
	int age;
public:
	static int tag;
public:
	Friend();
	Friend(char *name);
	Friend(char *name,int age);
	// 析构函数
	~Friend();
	// 拷贝构造函数
	Friend(const Friend &frd);

	void setName(char *name);
	void setAge(int age);

	char * getName();
	int getAge();

	void print() const;

	static void changeAge();
	friend void changeTag(Friend *frd, int age);

};
